package com.zhan.ielts.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.zhan.frame.core.dao.impl.BaseDaoImpl;
import com.zhan.ielts.dao.TradeInfoDao;
import com.zhan.ielts.domain.TradeInfo;
import com.zhan.ielts.domain.vo.TradeInfoVo;

@Repository
public class TradeInfoDaoImpl extends BaseDaoImpl<TradeInfo> implements TradeInfoDao {

	@Override
	public List<TradeInfo> selectLatest(TradeInfoVo entity) {
		return sqlSessionTemplate.selectList(getSqlName("selectLatestOnes"), entity);
	}

}
